package com.csnf.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

      public static Date parseDate(String dateString,String formatter) throws ParseException {
        SimpleDateFormat dateFormat = new SimpleDateFormat(formatter);

        return dateFormat.parse(dateString);
    }
}
